//    Copyright (C) Kherty.  All rights reserved.
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows;

namespace OpenLS.Spreadsheet
{
    public interface IWorksheetFragment: INotifyPropertyChanged
    {
        IEnumerable<Cell> GetCells();
        Worksheet Worksheet { get; }
        bool Contains(Cell cell);
        IEnumerable<Column> GetColumns();
        IEnumerable<Row> GetRows();
        int Left { get; set; }
        int Top { get; set; }
        void Resize(Size size);
        double? DesiredWidth { get; }
        double? DesiredHeight { get; }
    }
}